package com.aiti.lulian.mapper;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.CustomerTagDto;
import com.aiti.lulian.entity.CustomerTag;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CustomerTagMapper extends SuperMapper<CustomerTag> {

    List<CustomerTag> selectTagListByScope(@Param("scope") String scope, @Param("userId") String userId, @Param("groupId") String groupId);

    List<CustomerTag> selectTags(@Param("dto") CustomerTagDto customerTagDto);
}